package com.mp.chart.formatter;

import java.text.DecimalFormat;

public class OBVValueFormatter implements ValueFormatter {

    private DecimalFormat mFormat;

    public OBVValueFormatter() {
        mFormat = new DecimalFormat("#0.0");
    }

    @Override
    public String getFormattedValue(float value) {
        value = value / 10000 / 10000;
        return mFormat.format(value);
    }

}
